﻿#include "ILogic.h"

ILogic::ILogic()
{
}

ILogic::~ILogic()
{
}

/* --------------------------------------------------------------------------
函数说明：设置连接或断线重连时要转圈的参数
传入参数：、
	iStartCircleCountConnect,								OnConnect 状态下开始转圈的连接次数
	iEndCircleCountConnect,								OnConnect 状态下结束转圈的连接次数
	iStartCircleCountReconnectAfterOffline,	OnReconnectAfterOffline 状态下开始转圈的连接次数
	iEndCircleCountReconnectAfterOffline		OnReconnectAfterOffline 状态下结束转圈的连接次数)
-------------------------------------------------------------------------- */
void ILogic::setCircleParam(int  iStartCircleCountConnect, int  iEndCircleCountConnect, int  iStartCircleCountReconnectAfterOffline, int  iEndCircleCountReconnectAfterOffline)
{
	_startCircleCountConnect = iStartCircleCountConnect;		
	_endCircleCountConnect = iEndCircleCountConnect;		

	_startCircleCountReconnectAfterOffline = iStartCircleCountReconnectAfterOffline;		
	_endCircleCountReconnectAfterOffline = iEndCircleCountReconnectAfterOffline;		
}
